package com.dbpms.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("classinfo")
public class ClassInfo {
    @TableId("class_id")
    private int classId; // id
    private String className; // 班级名
    private int classSpecialityId; // 专业id

    @Override
    public String toString() {
        return "ClassInfo{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", classSpecialityId=" + classSpecialityId +
                '}';
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getClassSpecialityId() {
        return classSpecialityId;
    }

    public void setClassSpecialityId(int classSpecialityId) {
        this.classSpecialityId = classSpecialityId;
    }
}
